package com.ghostbusters.danceathon.util;

public class ArrayUtil {

	public static <T> String implode(T[] items, String glue) {
		String str = "";
		int i = 0;
		for (T item : items) {
			if (i++ != 0)
				str += glue;
			str += item;
		}
		return str;
	}
}
